//设置token
export const setToken = (token) => sessionStorage.setItem("token", token);

//获取token
export const getToken = () => sessionStorage.getItem("token");

//判断是否登录
export const isLogined = () => (getToken() ? true : false);

//退出登录
export const removeToken = () => sessionStorage.removeItem("token");
